package cn.com.czpb.client.module.news.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import cn.com.czpb.client.R;

/**
 * Created by 猪猪侠 on 2017/7/20.
 */

public class ChangeCityAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public ChangeCityAdapter(List<String> list) {
        super(R.layout.news_cancel_grid_item, list);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.btn_pop_item_id, item)
                .addOnClickListener(R.id.btn_pop_item_id);

    }


}
